package com.company.ch06.decorator;

public class AutoSizeSmartPhone extends SmartPhone{
    public AutoSizeSmartPhone(Phone phone) {
        super(phone);
    }
    public void aiFunction(){
        System.out.println("手机的尺寸可以自动伸缩");
    }
    public void call(){
        super.call();
        aiFunction();
    }
}
